import { Http } from '@/common/api'

export const listUrl = '/srm/purchase/order/supplier/page'
// 采购订单详情
export const apiGetPurchaseOrderDetail = async (id) => Http.get(`/srm/purchase/order/findById/${id}`)
// 供应商确认采购订单
export const apiPutPurchaseOrderConfirm = async (id) => Http.put(`/srm/purchase/order/supplier/confirm/${id}`)
// 供应商拒绝采购订单
export const apiPutPurchaseOrderRefuse = async (id) => Http.put(`/srm/purchase/order/supplier/cancel/${id}`)
